import Layout from '@/pages/public/layout' // 公共部分

const discountCard = [{
  path: '/market/coupon/offline/discountCard',
  component: Layout,
  children: [{
    path: 'index',
    component: () => import('@/pages/market/coupon_offline/discount_card/index.vue'),
    meta: {
      title: '实体卡-打折卡-列表',
      permission: 'market.coupon.offline.discountcard'
    }
  }, {
    path: 'create',
    component: () => import('@/pages/market/coupon_offline/discount_card/create.vue'),
    meta: {
      title: '实体卡-打折卡-新建',
      permission: 'market.coupon.offline.discountcard'
    }
  }, {
    path: ':id/edit',
    component: () => import('@/pages/market/coupon_offline/discount_card/edit.vue'),
    meta: {
      title: '实体卡-打折卡-编辑',
      permission: 'market.coupon.offline.discountcard'
    }
  }, {
    path: ':id/details',
    component: () => import('@/pages/market/coupon_offline/discount_card/details/index.vue'),
    meta: {
      title: '打折卡-领取情况',
      permission: 'market.coupon.offline.discountcard'
    }
  }]
}]

export default discountCard
